﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace mozhi.smarterp.BasicData.Suppliers
{
    public class SupplierDto : EntityDto<Guid>
    {
        public string Code { get; set; }

        public string Name { get; set; }

        public string Country { get; set; }

        public string Region { get; set; }

        public string MailAddress { get; set; }

        public string PostalCode { get; set; }

        public string Telephone { get; set; }

        public bool Activated { set; get; }

        public List<SupplierContactItemDto> ContactItems { get; set; }
    }

    public class SupplierContactItemDto : EntityDto<Guid>
    {
        public string Name { get; set; }

        /// <summary>
        /// 职务
        /// </summary>
        public string JobTitle { get; set; }

        public string Telephone { get; set; }

        public string Mobilephone { get; set; }

        public string Email { get; set; }

    }
}
